package cn.com.agree.mapper;

import cn.com.agree.model.ProductMacDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author pedro@TaleLin
 */
@Repository
public interface ProductMacMapper extends BaseMapper<ProductMacDO> {

//    List<ProductMacDO> selectByTitleLikeKeyword(@Param("q") String q);
//
//    List<ProductMacDO> selectByTitle(@Param("title") String title);
//
//    List<ProductMacDO> selectList();

    void deleteByBcode(String bcode);

    int deleteById(Integer id);

    List<ProductMacDO> selectListByBcode(String bocde);

    ProductMacDO selectById(@Param("id") Integer id);
}
